package sword_to_1;

public class LeeCode_17 {
    public static void main(String[] args) {

    }
    private static int[] printNumbers(int n) {
        int count = 1;
        for (int i = 0; i < n; i++) {
            count *= 10;
        }
        int[] ans = new int[count - 1];
        for (int i = 1; i < count; i++) {
            ans[i - 1] = i;
        }
        return ans;
    }
}
